import {BasicManager} from "./BasicManager";

class ScriptLibraryCollection extends BasicManager {
    constructor() {
        super();
        this._scriptSettings = [];
    }

    get ScriptSettings() {
        return this._scriptSettings;
    }

    set ScriptSettings(setting) {
        this._scriptSettings = setting;
    }
}

export const ScriptLibraryManager = (function () {
    let instance;
    return {
        name: "DependLibraryCollection",
        getInstance: function () {
            if (instance === undefined) {
                instance = new ScriptLibraryCollection();
            }
            return instance
        }
    }
})();